<%@ Language=VBScript %>
<!--#include file="..\CheckSession.inc"-->	
<!--#include file="..\Report.inc"-->
<%
	if Session("ClsFun").LayGiaTriQuyen(Session("Permision"),Session("FormName"),1)="1" or Session("IsAdmin") then
		sSQL="select canbo.macanbo,canbo.hovaten,canbo.ngaysinh,canbo.username,chucdanh.tenchucdanh,gioitinh.tengioitinh  from canbo left outer join chucdanh on canbo.chucvu=chucdanh.machucdanh left outer join gioitinh on canbo.gioitinh=gioitinh.magioitinh order by canbo.stt1,canbo.stt2,canbo.stt3,canbo.ten,canbo.hovaten"
	end if				
CAll RP("rptcanbo.rpt",sSQL)
%>
<!-- #include file="SmartViewerActiveX.asp" -->
<%
	Conn.Close
	Set Conn=nothing
%>